package com.easylinkin.linkappapi.operatelog.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.easylinkin.linkappapi.operatelog.entity.OperateLog;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TongJie
 * @since 2020-04-12
 */
public interface OperateLogService extends IService<OperateLog> {

    boolean addLog(OperateLog operateLog);

    /**
     * 分页查询
     * @param page 分页属性
     * @param operateLog 查询条件
     * @return
     */
    IPage<OperateLog> getPage(Page page, OperateLog operateLog);
}
